package org.example.mall.admin.service.marketing;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.mall.admin.common.es.RestHighLevelClientService;
import org.example.mall.admin.model.entity.marketing.Article;

/**
 * <p>
 * 文章管理 服务类
 * </p>
 *
 * @author hzq
 * @since 2022-01-12
 */
public interface ArticleService extends IService<Article>, RestHighLevelClientService {

    Boolean add(Article article);

    Boolean edit(Article article);

    Boolean del(Integer articleId);

    IPage<Article> getPage(Page page, Article article);
}
